package com.ruoyi.quality.domain.dto;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ruoyi.common.core.web.page.PageSize;
import lombok.Data;

import java.util.Date;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@ExcelIgnoreUnannotated
@HeadFontStyle(fontName = "Arial",fontHeightInPoints=10)
@ContentFontStyle(fontName = "Arial",fontHeightInPoints=9)
public class InspectionIqcDto extends PageSize {
    private Integer id;

    private String code;
    /**
     * 单号
     */
    @ExcelProperty(index = 0,value = "单号")
    private String orNo;

    /**
     * 行号
     */
    @ExcelProperty(index = 2,value = "行号")
    private String orItem;

    /**
     * 行状态
     */
    @ExcelProperty(index = 3,value = "行状态")
    private String itemStatus;

    /**
     * 送货单号
     */
    @ExcelProperty(index = 4,value = "送货状态")
    private String deliveryOrNo;

    /**
     * 源头单据号
     */
    @ExcelProperty(index = 5,value = "源头单据号")
    private String oriOrNo;

    /**
     * 料号
     */
    @ExcelProperty(index = 6,value = "料号")
    private String materialCode;

    /**
     * 品名
     */
    @ExcelProperty(index = 7,value = "品名")
    private String materialName;

    /**
     * 规格型号
     */
    @ExcelProperty(index = 8,value = "规格型号")
    private String materialSpec;

    /**
     * 收获数量
     */
    @ExcelProperty(index = 9,value = "收获数量")
    private Integer receiveQty;

    /**
     * 实收数量
     */
    @ExcelProperty(index = 10,value = "实际数量")
    private Integer actualQty;

    /**
     * 交接日期
     */
    @ExcelProperty(index = 11,value = "交货日期")
    private Date deliveryTime;

    /**
     * 实际交期
     */
    @ExcelProperty(index = 12,value = "实际交期")
    private Date actualDeliveryTime;

    /**
     * 生产批次
     */
    @ExcelProperty(index = 13,value = "生产批次")
    private String productBatch;

    /**
     * 有效期
     */
    @ExcelProperty(index = 14,value = "有效期至")
    private Date expirateTime;

    /**
     * 是否来料质检
     */
    @ExcelProperty(index = 15,value = "来料质检")
    private String inspection;

    /**
     * 供应商编码
     */
    @ExcelProperty(index = 16,value = "供应商编码")
    private String supplierCode;

    /**
     * 供应商名称
     */
    @ExcelProperty(index = 17,value = "供应商名称")
    private String supplierName;

    /**
     * 紧急放行
     */
    @ExcelProperty(index = 18,value = "紧急放行")
    private String urgentRelease;

    /**
     * 仓库名称
     */
    @ExcelProperty(index = 19,value = "仓库名称")
    private String warehouseName;

    /**
     * 批号
     */
    @ExcelProperty(index = 20,value = "批号")
    private String batchNo;
}
